<!DOCTYPE html>
<html chrome_comp_test="empty_cell">
<head>
<style>
table,td{border:1px solid #000;}
</style>
</head>
<body>

<h1>RE1012 RE1013</h1>

<p>1.</p>
<table border=1 cellpadding="0" cellspacing="5">
  <tr>
    <td>aaa</td>
    <td expectedProblems="RE1012"></td>
    <td>bbb</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>bbb</td>
  </tr>
</table>

<p>2.</p>
<table border=1 cellpadding="5" cellspacing="5">
  <tr>
    <td expectedProblems="RE1012 RE1013"></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
  </tr>
</table>

<p>3.</p>
<table border=1 cellpadding="5" cellspacing="5">
  <tr>
    <td>&nbsp;</td>
    <td style="empty-cells:hide;"></td>
  </tr>
  <tr>
    <td>text</td>
    <td expectedProblems="RE1012"></td>
  </tr>
</table>

<p>2.</p>
<table border="1" cellpadding="5" cellspacing="5">
  <tr>
    <td>empty cell</td>
    <td>empty element</td>
    <td>empty elements</td>
    <td>br</td>
    <td>hasLayout</td>
    <td>relative</td>
    <td>absolute</td>
    <td>h1 margin</td>
    <td>span margin</td>
    <td>empty elements margin</td>
    <td>last empty child element margin</td>
    <td>h1 padding</td>
    <td>empty span padding</td>
    <td>empty elements padding</td>
    <td>last empty child element margin</td>
    <td>border 1</td>
    <td>empty span border</td>
    <td>empty elements border</td>
    <td>last empty child element border</td>
  </tr>
  <tr>
    <td expectedProblems="RE1012">     </td>
    <td expectedProblems="RE1012"><div></div></td>
    <td expectedProblems="RE1012"><div><span></span></div><h1></h1></td>
    <td><br></td>
    <td><div><span style="zoom:1;"></span></div><h1></h1></td>
    <td><div><span></span></div><h1 style="position:relative;"></h1></td>
    <td expectedProblems="RE1012"><div><span></span></div><h1 style="position:absolute;"></h1></td>
    <td expectedProblems="RE1012"><h1 style="margin:5px;"></h1>  </td>
    <td><span style="margin:5px;"></span></td>
    <td expectedProblems="RE1012"><div><div></div><h1 style="margin:5px;"></h1></div></td>
    <td expectedProblems="RE1012"><div><span></span></div><h1 style="margin:5px;"></h1></td>
    <td expectedProblems="RE1012"><h1 style="padding:5px;"></h1>  </td>
    <td><span style="padding:5px;"></span></td>
    <td><div><div></div><h1 style="padding:5px;"></h1></div></td>
    <td expectedProblems="RE1012"><div><span></span></div><h1 style="padding:5px;"></h1></td>
    <td expectedProblems="RE1012"><div></div><h1 style="border:5px solid blue;"></h1>  </td>
    <td><span style="border:5px solid blue;"></span></td>
    <td><div><div></div><h1 style="border:5px solid blue;"></h1></div></td>
    <td expectedProblems="RE1012"><div><span></span></div><h1 style="border:5px solid blue;"></h1></td>
  </tr>
</table>

<p>3. Has specified height</p>
<table border="1" cellpadding="5" cellspacing="5">
  <tr>
    <td style="padding:50px; height:50px;" expectedProblems="RE1012 RE1013"></td>
  </tr>
  <tr>
    <td style="padding:50px; height:102px;" expectedProblems="RE1012"></td>
  </tr>
  <tr>
    <td>1</td>
  </tr>
</table>

<p>4. Higher cell in the same line</p>
<table border="1" cellpadding="5" cellspacing="5">
  <tr>
    <td expectedProblems="RE1012"></td>
    <td>text</td>
  </tr>
</table>

<hr />

<h2>The followings don't have problems</h2>

<p>A1.</p>
<table cellpadding="0" cellspacing="5">
  <tr>
    <td>&nbsp;</td>
    <td>text</td>
  </tr>
</table>

<p>A2.</p>
<table cellpadding="0" cellspacing="5">
  <tr>
    <td style="padding:10px; height:10px; border:0 none;"></td>
    <td>text<br />text</td>
  </tr>
</table>

<p>(End of test)</p>

</body>
</html>